package com.ck567.automationtesting.service

import com.ck567.automationtesting.entity.Book
import org.springframework.stereotype.Service
import java.time.LocalDate



@Service
class Service {
    fun queryByTitle(title: String?): Book {
        val book = Book()
        book.author = "dax"
        book.price = 78.56
        book.releaseTime = LocalDate.of(2018, 3, 22)
        book.title = title
        return book
    }
}